using Crux.Core.Data;

namespace Crux.Core.Domains;
/// <summary>
/// IGenericDomainEvent`
/// </summary>
public interface IGenericDomainEvent<out TAggregateRoot>
    : IDomainEvent where TAggregateRoot : IAggregateRoot
{
    /// <summary>
    /// 
    /// </summary>
    TAggregateRoot AggregateRoot { get; }
    /// <summary>
    /// 
    /// </summary>
    CancellationToken Aborted { get; }
}
